#ifndef __CONFIG_TYPE_H
#define __CONFIG_TYPE_H

#include "cconf.h"
#include "table.h"
#include "error.h"
#include "optparse.h"
#include "io_thread.h"
#include <pthread.h>

struct cconf_s {
	cconf_table_t * table;
	char * name;
	cconf_optlist_t * optlist;
	cconf_error_t error;
    char * error_entry;
	cconf_error_stack_t * errors;
    cconf_io_thread_t * io_thread;
    cconf_changed_fcn_t change_cb;
    void * cb_arg;
};

#endif
